package com.work.xxzl.view;

import android.content.Context;
import android.support.v4.widget.SwipeRefreshLayout;
import android.util.AttributeSet;

/**
 * author: Wangzhan
 * date :2018/9/25 20:18
 * version:1.0
 * description:自定义SwipeRefreshLayout 统一用此控件 方便统一管理
 */

public class SwipRefreshViewCommon extends SwipeRefreshLayout {
    public SwipRefreshViewCommon(Context context) {
        super(context, null);
    }

    public SwipRefreshViewCommon(Context context, AttributeSet attrs) {
        super(context, attrs);
        //设置刷新时动画的颜色，可以设置4个
//        setColorSchemeResources(android.R.color.holo_blue_light, android.R.color.holo_red_light, android.R.color.holo_orange_light, android.R.color.holo_green_light);
        setColorSchemeResources(android.R.color.black);

    }
}
